﻿using Sample.Novel.Domain.Books.Entites;
using System;
using System.Threading;
using System.Threading.Tasks;
using Volo.Abp.Domain.Repositories;

namespace Sample.Novel.Domain.Books.Repositories
{
    public interface IBookRepository
        :IRepository<Book,Guid>
    {
        Task<Chapter> FindCharpterByIdAsync(
            Guid id,
            bool include = true,
            CancellationToken cancellationToken = default);


    }
}
